
    {{parm}}
    <div class="form-group">
        <label for="formGroupExampleInput">标题</label>
        <input type="text" class="form-control" id="formGroupExampleInput" aria-describedby="emailHelp" placeholder="请输入标题" [(ngModel)]="news.title">
        <small id="emailHelp" class="form-text text-muted">标题不要包含特殊字符，长度在30字以内</small>
      </div>

      <div class="form-group">
          <label for="formGroupExampleInput">作者</label>
          <input type="text" class="form-control" id="formGroupExampleInput" aria-describedby="emailHelp" placeholder="请输入名字" [(ngModel)]="news.author">
        </div>

        <div class="form-group">
            <label for="formGroupExampleInput">排序号</label>
            <input type="number" class="form-control" id="formGroupExampleInput" aria-describedby="emailHelp" placeholder="请输入数字排序号" [(ngModel)]="news.px">
          </div>

        <div class="form-group">
          <label for="formGroupExampleInput">文章内容</label>
          <ckeditor [(ngModel)]="news.content"
          debounce="500"
          [config]="config">
          </ckeditor>

        </div>


  <div class="form-group">
    <button class="btn btn-outline-success" (click)='save()'>保存</button>
    <button class="btn btn-outline-danger" (click)='goBack()'>取消</button>
  </div>
